// 我的足跡
import request from '@/utils/request.js'

// 清空足迹  /history/clear POST 
export const clearHistory=()=>request({
	url:'/history/clear',
	method:'post'
})

//  新增用户足迹  /history/create  post 
export const createHistory=(data)=>request({
	url:'/history/create',
	method:'post',
	data
})

//  删除用户足迹  /history/delete post 
export const deleteHistory=(data)=>request({
	url:'/history/delete',
	method:'post',
	data
	
})

// 用户足迹列表   /history/list  GET
export const gethistoryList=(data)=>request({
	url:'/history/list',
	method:'GET',
	data
})